- return unless group.marked_for_deletion?
- date = permanent_deletion_date(group.marked_for_deletion_on)

.sub-section
  %h4.warning-title= _('Restore group')
  %p
    %strong= _('This group has been scheduled for permanent removal on %{date}') %{ date: date }
  %p
    = _("Restoring the group will prevent the group, its subgroups and projects from being removed on this date.")
  %p
    = render Pajamas::ButtonComponent.new(method: :post, href: group_restore_path(group)) do
      = _('Restore group')
